package net.zjitc.service;

import java.util.List;
import net.zjitc.pojo.AdminUser;
import net.zjitc.pojo.User;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/17 16:24
 * @description:
 */
public interface AdminService {
  AdminUser AdminLogin(String username, String password);

  List<User> findAllUser();

  User findByCondition(String username, String password);

  Integer DeleteUser(Integer uid);

  Integer insert(User user);

  Integer findByCode(String code);
}
